﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;

namespace MovieTheater.Models
{
    public class MovieListViewModel
    {
        public double AverageRating { get; set; }
        public List<MovieViewModel> Movies { get; set; }
    }

    public class MovieViewModel
    {
        [DisplayName("Movie Title")]
        public string MovieTitle { get; set; }
        [DisplayName("Who rated it")]
        public string UserName { get; set; }
        public string PosterUrl { get; set; }
        public int Rating { get; set; }
    }
}